<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>简历详情</title>
    <link rel="icon" type="image/png" href="/img/icon.png">
    <link rel="stylesheet" type="text/css" href="../datepicker/jquery-ui.min.css">
    <link rel="stylesheet" type="text/css" href="../css/app.css">
    <link rel="stylesheet" type="text/css" href="../css/index.css">
    <link rel="stylesheet" type="text/css" href="../css/all.css">
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script type="text/javascript" src="/h5/js/all.js"></script>
</head>
<body>
<!----------工人详情页面---------->
<div id="staffShowPage"><!--此ID页面切换用-->
    <div id="staffShowTitle">
        <b>简历详情</b>
        <img src="../images/return.png" onclick="MC.back()" id="staffShowRtn">
    </div>
    <div class="contentDiv">
        <div class="tophead clearfix">
            <div class="username">
                <div class="name_job">
                    <span class="name realname"></span>
                    <span class="job_str"></span>
                </div>
                <span class="desc"></span>
                <a class="lianxi button" call="">在线联系</a>
            </div>
            <img class="head" />
        </div>

        <div class="contentul">
            <h3 class="h3">基本信息</h3>
            <ul class="textul">
                <li class="li clearfix">
                    <span class="t">居住地址</span>
                    <span class="v residential_address"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">最高学历</span>
                    <span class="v education"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">体重</span>
                    <span class="v weight"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">年龄</span>
                    <span class="v age"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">政治面貌</span>
                    <span class="v political_status"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">籍贯</span>
                    <span class="v native_place"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">民族</span>
                    <span class="v nationality"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">婚姻</span>
                    <span class="v marriage"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">住宿情况</span>
                    <span class="v house"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">形象照</span>
                    <div class="v imageDiv">
                        <img class="image" />
                    </div>
                </li>

                <li class="li clearfix">
                    <span class="t">户口地址</span>
                    <span class="v household_address"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">紧急联系人</span>
                    <span class="v contact_person"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">紧急联系手机</span>
                    <span class="v contact_phone"></span>
                </li>
                <li class="li clearfix">
                    <span class="t">期望月薪</span>
                    <span class="v salary"></span>
                </li>
            </ul>
        </div>





        <div class="contentul">
            <h3 class="h3">教育背景</h3>
            <ul class="textul">
                <li class="li clearfix">
                    <span class="t">毕业院校</span>
                    <span class="v eduBgSchool"></span>
                </li>

                <li class="li clearfix">
                    <span class="t">起止时间</span>
                    <span class="v eduBgEnd_eduBgStart"></span>
                </li>

                <li class="li clearfix">
                    <span class="t">专业</span>
                    <span class="v eduBgMajor"></span>
                </li>

                <li class="li clearfix">
                    <span class="t">所获奖项</span>
                    <div class="v textareaDiv">
                        <textarea readonly class="textarea eduBgAward"></textarea>
                    </div>
                </li>
            </ul>
        </div>

        <div class="contentul">
            <h3 class="h3">工作经历</h3>
            <ul class="textul">

                <li class="li clearfix">
                    <span class="t">起止时间</span>
                    <span class="v workStart_workEnd"></span>
                </li>

                <li class="li clearfix">
                    <span class="t">公司名称</span>
                    <span class="v workComName"></span>
                </li>

                <li class="li clearfix">
                    <span class="t">职位</span>
                    <span class="v workJob"></span>
                </li>

                <li class="li clearfix">
                    <span class="t">离职原因</span>
                    <div class="v textareaDiv">
                        <textarea readonly class="textarea workLeave"></textarea>
                    </div>
                </li>
            </ul>
        </div>



        <div class="contentul">
            <h3 class="h3">自我评价</h3>
            <ul class="textul">

                <li class="li clearfix">
                    <span class="t">自我能力评价</span>
                    <div class="v textareaDiv">
                        <textarea readonly class="textarea comFeature"></textarea>
                    </div>
                </li>

                <li class="li clearfix">
                    <span class="t">自我擅长技能评价</span>
                    <div class="v textareaDiv">
                        <textarea readonly class="textarea comSkill"></textarea>
                    </div>
                </li>

                <li class="li clearfix">
                    <span class="t">自我爱好特长</span>
                    <div class="v  textareaDiv">
                        <textarea readonly class="textarea comHobby"></textarea>
                    </div>
                </li>

                <li class="li clearfix">
                    <span class="t">员工对企业期待</span>
                    <div class="v textareaDiv">
                        <textarea readonly class="textarea comExpect"></textarea>
                    </div>
                </li>
            </ul>
        </div>

    </div>

</div>
<!----------工人详情页面---------->





<!----------错误提示---------->
<div id="errMsg"></div>
<!----------错误提示---------->
</body>

<script>

    MC.apiD('getjianli',{id:MC.get('id')},function(data){
        if(!data.job_str){
            data.job_str='';
        }
         $('.lianxi[call]').attr('call',data.jiguang_id);
        $('.contentDiv .tophead .head').attr('ziliaoid',data.uid);
        $('.contentDiv .tophead .username .name').text(data.name);
        $('.contentDiv .tophead .username .job_str').text(data.job_str);
        $('.contentDiv .tophead .head').attr('src',data.head);
        $('.contentDiv .tophead .username .desc').text(data.sex+'·'+data.age+'岁·'+data.phone);


        $('.contentDiv .contentul .textul .li .age').text(data.age+'岁');
        $('.contentDiv .contentul .textul .li .birthday').text(data.birthday);
        $('.contentDiv .contentul .textul .li .contact_person').text(data.contact_person);
        $('.contentDiv .contentul .textul .li .education').text(data.education);
        $('.contentDiv .contentul .textul .li .residential_address').text(data.residential_address);
        $('.contentDiv .contentul .textul .li .house').text(data.house);
        $('.contentDiv .contentul .textul .li .household_address').text(data.household_address);
        $('.contentDiv .contentul .textul .li .image').attr('src',data.image);
        $('.contentDiv .contentul .textul .li .image').attr('alt','形象照');
        if(data.image&&data.image!==''){
            $('.contentDiv .contentul .textul .li .image').show();
        }
        $('.contentDiv .contentul .textul .li .marriage').text(data.marriage);
        $('.contentDiv .contentul .textul .li .nationality').text(data.nationality);
        $('.contentDiv .contentul .textul .li .contact_phone').text(data.contact_phone);
        $('.contentDiv .contentul .textul .li .native_place').text(data.native_place);

        $('.contentDiv .contentul .textul .li .political_status').text(data.political_status);
        $('.contentDiv .contentul .textul .li .salary').text(data.salary+'元');
        $('.contentDiv .contentul .textul .li .sex').text(data.sex);
        $('.contentDiv .contentul .textul .li .weight').text(data.weight+'公斤');


        if(data.kuozhan){
            var kz=data.kuozhan;
            if(kz.edu_bgs&&kz.edu_bgs.eduBgCount=='1'){
                if(kz.edu_bgs.eduBgSchool[1]){
                    $('.contentDiv .li .eduBgSchool').text(kz.edu_bgs.eduBgSchool[1]);
                }
                if(kz.edu_bgs.eduBgStart[1]&&kz.edu_bgs.eduBgEnd[1]){
                    $('.contentDiv .li .eduBgEnd_eduBgStart').text(
                        kz.edu_bgs.eduBgStart[1]+'-'+kz.edu_bgs.eduBgEnd[1]
                    );
                }
                if(kz.edu_bgs.eduBgMajor[1]){
                    $('.contentDiv .li .eduBgMajor').text(kz.edu_bgs.eduBgMajor[1]);
                }
                if(kz.edu_bgs.eduBgAward[1]){
                    $('.contentDiv .li .eduBgAward').val(kz.edu_bgs.eduBgAward[1]);
                }
            }

            if(kz.work_historys&&kz.work_historys.workCount=='1'){

                if(kz.work_historys.workStart[1]&&kz.work_historys.workEnd[1]){
                    $('.contentDiv .li .workStart_workEnd').text(
                        kz.work_historys.workStart[1]+'-'+kz.work_historys.workEnd[1]
                    );
                }
                if(kz.work_historys.workComName[1]){
                    $('.contentDiv .li .workComName').text(kz.work_historys.workComName[1]);
                }
                if(kz.work_historys.workJob[1]){
                    $('.contentDiv .li .workJob').text(kz.work_historys.workJob[1]);
                }
                if(kz.work_historys.workLeave[1]){
                    $('.contentDiv .li .workLeave').val(kz.work_historys.workLeave[1]);
                }
            }

            if(kz.comments){
                if(kz.comments.comExpect){
                    $('.contentDiv .li .comExpect').val(kz.comments.comExpect);
                }
                if(kz.comments.comFeature){
                    $('.contentDiv .li .comFeature').val(kz.comments.comFeature);
                }
                if(kz.comments.comHobby){
                    $('.contentDiv .li .comHobby').val(kz.comments.comHobby);
                }
                if(kz.comments.comSkill){
                    $('.contentDiv .li .comSkill').val(kz.comments.comSkill);
                }
            }
        }



        console.log(data);
    });
</script>
</html>